﻿-- Most of stuff is NYI here
-- Internal functions
local function isCalleeHasModule()
	local addonname=({select(3,strsplit("\\",debugstack(2,1,1)))})[1] -- the name is actually the addon's foldername
	if tContains(AT2_ModAddonList,addonname) then -- add checking that if it is enabled
		return true
	else
		return false
	end
end
--

-- Message-related functions
function AT2_API_GetCurrentMessage()
 
end

function AT2_API_SetMessage(message)

end

function AT2_API_DeactivateSending()

end

function AT2_API_SendChannelMessage(channel,message) 
-- implement ratelimit to 1/min
end

function AT2_API_SendWhisper(target,message)

end

function AT2_API_AddSavedMessage(title,message)

end

function AT2_API_GetSavedMessages()

end
--

-- Misc functions
function AT2_API_GetCurrentSendMode()

end

function AT2_API_IsSendingActive()

end

--[[function AT2_API_GetCurrentChannel() -- this won't make final -- plugins could use SendChatMessage to circumvent ratelimiting

end]]

function AT2_API_GetCurrentLDBLabel()

end

function AT2_API_SetLDBLabel(label)

end

function AT2_API_GetStats(type)
-- if no type specified then return all
end